function userAdd(){
	if (!Validator.Validate(document.getElementById("form1"), 1)) {
		return;
	}
	$.ajax({ 
	 	url: ctp + "/sysuserController/userSave.shtml",
	    data: $('#form1').serialize(),
		type : 'POST',
		async:false, 
		success : function(result) {  
			if(result=='1') {  
				jalert9("保存成功！");
				setTimeout(function(){
					parent.searchData();
					back();
				},WARN_TIME_OUT);
			}else if(result=='0') {     
				jalert("保存失败，请联系管理员！");   
			} else if(result=='2'){
				jalert("手机号已存在，请更换！");
			}
  		}
	});
	
}

function back(){
	window.parent.closeDialogWin();
}